{extend name='admin@public/content'}

{block name="content"}
<form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='form-horizontal layui-form padding-top-20'>

    <div class="form-group">
        <label class="col-sm-2 control-label">奖品名称</label>
        <div class='col-sm-8'>
            <label class=" control-label">{$vo.goods_name|default=''}</label>
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-2 control-label">上传文件</label>
        <div class='col-sm-8'>
            <input name='upload_txt' />
            <button type='button' data-file='one' data-field='upload_txt' data-type='txt'>上传文件</button>
            <p class="help-block">上传TXT文件，保证CDKEY与数据库的数据唯一</p>
        </div>
    </div>



    <div class="hr-line-dashed"></div>

    <div class="col-sm-7 col-sm-offset-2">
        <div class="layui-form-item text-center">
            <input type="hidden" name="id" value="{$id}">
            <button class="layui-btn" type="submit">保存配置</button>
        </div>
    </div>

    <script>window.form.render();</script>

</form>
{/block}